package org.eiahe.hr.attendance.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.ehe.common.mybatis.core.domain.BaseEntity;

import java.io.Serial;

/**
 * 特殊规则审批日志对象 hr_special_rule_approval_log
 *
 * @author zhangnn
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("hr_special_rule_approval_log")
public class SpecialRuleApprovalLog extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 日志ID
     */
    @TableId(type = IdType.AUTO)
    private Long logId;

    /**
     * 规则ID
     */
    private Long ruleId;

    /**
     * 操作类型(1-提交申请 2-审批通过 3-审批驳回 4-撤销申请)
     */
    private String operationType;

    /**
     * 操作人ID
     */
    private Long operatorId;

    /**
     * 操作人姓名
     */
    private String operatorName;

    /**
     * 操作意见
     */
    private String operationComment;

    /**
     * 备注
     */
    private String remark;

    @TableLogic
    private String delFlag;
}
